[XEN] Arch-specific softirq definitions.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 30 Nov 2006 17:14:09 +0000 (17:14 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 30 Nov 2006 17:14:09 +0000 (17:14 +0000)
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
xen/include/asm-ia64/softirq.h [new file with mode: 0644]
xen/include/asm-powerpc/softirq.h [new file with mode: 0644]
xen/include/asm-x86/softirq.h [new file with mode: 0644]
xen/include/xen/softirq.h

diff --git a/xen/include/asm-ia64/softirq.h b/xen/include/asm-ia64/softirq.h
new file mode 100644 (file)
index 0000000..3444d30
--- /dev/null
@@ -0,0 +1,6 @@
+#ifndef __ASM_SOFTIRQ_H__
+#define __ASM_SOFTIRQ_H__
+
+#define NR_ARCH_SOFTIRQS    0
+
+#endif /* __ASM_SOFTIRQ_H__ */
diff --git a/xen/include/asm-powerpc/softirq.h b/xen/include/asm-powerpc/softirq.h
new file mode 100644 (file)
index 0000000..3444d30
--- /dev/null
@@ -0,0 +1,6 @@
+#ifndef __ASM_SOFTIRQ_H__
+#define __ASM_SOFTIRQ_H__
+
+#define NR_ARCH_SOFTIRQS    0
+
+#endif /* __ASM_SOFTIRQ_H__ */
diff --git a/xen/include/asm-x86/softirq.h b/xen/include/asm-x86/softirq.h
new file mode 100644 (file)
index 0000000..3444d30
--- /dev/null
@@ -0,0 +1,6 @@
+#ifndef __ASM_SOFTIRQ_H__
+#define __ASM_SOFTIRQ_H__
+
+#define NR_ARCH_SOFTIRQS    0
+
+#endif /* __ASM_SOFTIRQ_H__ */
index d4e8edd7ad3689f0a4ab39552c12461ae5b4007b..a51aad6280c35002eb6de7d60ed89ee85ca1fa34 100644 (file)
@@ -9,7 +9,12 @@
 #define NMI_SOFTIRQ                       4
 #define PAGE_SCRUB_SOFTIRQ                5
 #define TRACE_SOFTIRQ                     6
-#define NR_SOFTIRQS                       7
+
+#define NR_COMMON_SOFTIRQS                7
+
+#include <asm/softirq.h>
+
+#define NR_SOFTIRQS (NR_COMMON_SOFTIRQS + NR_ARCH_SOFTIRQS)
 
 #ifndef __ASSEMBLY__